package org.dromara.business.domain.bo;

import org.dromara.business.domain.LzshBusinessMenu;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 商机填报系统菜单业务对象 lzsh_business_menu
 *
 * @author Lion Li
 * @date 2024-08-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = LzshBusinessMenu.class, reverseConvertGenerate = false)
public class LzshBusinessMenuBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 商机填报菜单项名
     */
    @NotBlank(message = "商机填报菜单项名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String menuName;

    /**
     * 上传图片地址
     */
    @NotBlank(message = "上传图片地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String imgUrl;

    /**
     * 选取模板的id
     */
    @NotNull(message = "选取模板的id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long templateId;

    /**
     * 菜单状态（0正常 1停用）
     */
    private String status;


}
